home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5198 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.6 KB  |  37 lines

  1. Path: newsfeed.internetmci.com!netgrp!news
  2. From: Jonathan Driscoll <jd@gatekeeper.vic.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Graphics with Borland Turbo c++ 4.5?
  5. Date: Fri, 02 Feb 1996 18:35:15 -0500
  6. Organization: Internet Communications Group
  7. Message-ID: <31129FB3.2F0A@gatekeeper.vic.com>
  8. NNTP-Posting-Host: smoky8.vic.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (Win95; I)
  13.  
  14. I've been learning c++ from a disk tutorial I got, and it worked 
  15. well until I got to the graphics section.  Apparently, that whole 
  16. section is rather worthless, for it assumes you're using dos.  When I 
  17.  
  18. #include <graphics.h>
  19.  
  20. the compler gives me the error that BGI doesn't work under windows.  I'm 
  21. rather new to c++, but from what I understand, certain functions 
  22. (specifically, graphics functions) aren't the same for all c++ 
  23. compilers, and I have to use graphics functions specific to the Borland 
  24. Turbo c++ compiler.  This brings up two problems.
  25.     First, I got into c++ programming because it was supposed to be 
  26. a new and emerging standard in programming languages.  But how standard 
  27. can a language be if programs are specific to the brand of compiler 
  28. used?  It's all rather disillusioning for a beginning progammer...
  29.     Second, and more importantantly, I have no idea how to use the 
  30. damn thing.  Although I commend Borland for their extensive use of 
  31. online help, it's really no help at all.  I would really appreciate if 
  32. someone would post a simple (really, really simple) program that does 
  33. something like set the background color and draw a rectangle.
  34.     Thanks for the help,
  35.  
  36.         Jonathan Driscoll (jd@vic.com)
  37.